<script>
    alert("${msg}");
    location = "${url}";
</script>